﻿<Window x:Class="Morro.VPN.Desktop.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:DataDisplay="clr-namespace:Morro.VPN.Desktop.DataDisplay" Title="Параметры вариационной пульсометрии" Height="740" Width="700" Loaded="Window_Loaded" Icon="Images/Heart.png" WindowStartupLocation="CenterScreen">
    <Border Background="Black">
		<Grid>
			<Grid.RowDefinitions>
				<RowDefinition Height="Auto"/>
				<RowDefinition/>
				<RowDefinition/>
			</Grid.RowDefinitions>
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="*"/>
				<ColumnDefinition Width="*"/>
			</Grid.ColumnDefinitions>
			<Border VerticalAlignment="Top" Background="#FF232323" Grid.ColumnSpan="2" Padding="0,0,0,5">
				<Menu Height="20.96" Width="43.123" HorizontalAlignment="Left" Margin="0">
					<MenuItem x:Name="menuFile" Header="Файл">
						<MenuItem x:Name="fileOpen" Header="Открыть файл..." Click="fileOpen_Click" />
						<Separator/>
						<MenuItem x:Name="menuExit" Header="Выход" Click="menuExit_Click"/>
					</MenuItem>
				</Menu>
			</Border>
			<DataDisplay:Ritmogramm x:Name="ritmogramm" Grid.Column="1" Grid.Row="1" Margin="5"/>
			<DataDisplay:ViewPlotter Grid.Column="0" Grid.Row="1">
				<DataDisplay:Gistagramm x:Name="gistagrammStandart" AutoScalePockets="False"  Margin="5"/>
			</DataDisplay:ViewPlotter>
			<DataDisplay:ViewPlotter Grid.Column="0" Grid.Row="2">
				<DataDisplay:Gistagramm x:Name="gistagramm" Margin="5" AutoScalePockets="True"/>
			</DataDisplay:ViewPlotter>
			<DataDisplay:ViewPlotter Grid.Column="1"  Grid.Row="2">
				<DataDisplay:Scattergram x:Name="scattegramm" Margin="5" />
			</DataDisplay:ViewPlotter>
		</Grid>
	</Border>
</Window>
